﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Models;

namespace IRepository
{
    public interface IExecuteRecordRepository
    {
        void CreateRecord(ExecuteRecord record);

        ExecuteRecord GetRecord(string code);

        List<ExecuteRecord> ListRecord();

        List<ExecuteRecord> ListRecord(DateTime startTime, DateTime endTime);

        List<ExecuteRecord> ListRecord(string functionName);

        List<ExecuteRecord> ListRecordByAction(string actionFrom);

        List<ExecuteRecord> ListRecord(double costTime);
    }
}
